#!/bin/bash

echo "打包文件"
pnpm build
echo "传输文件"
# 生产环境
scp -r ./dist/** root@106.13.231.246:/usr/local/nginx/html/xlmobile

# 测试环境
# scp -r ./dist/** root@182.61.19.106:/usr/local/nginx/html/xlmobile
echo "部署成功"
